package com.utils;

import com.bean.StudentBean;
import com.mapper.StudentMapper1;
import org.apache.ibatis.session.SqlSession;

public class StudentSql {

    public static  void findStuOne() {
        SqlSession sqlSession = MybatisUtils.getSession();
        StudentMapper1 stmapper = sqlSession.getMapper(StudentMapper1.class);
        System.out.println(stmapper.selectOneById(2021010101));
    }

    public static void main(String[] args) {
        findStuOne();
    }

}
